/**
 * 
 */
package qjs.com.vn.action;


import qjs.com.vn.model.SanPham;
import qjs.com.vn.service.SanPhamService;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

/**
 * @author WIN7
 *
 */
public class SanPhamAction extends ActionSupport implements ModelDriven<Object> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6297373942653343237L;
	SanPham sanPham =  new SanPham();
	SanPhamService sanPhamService;
	/**
	 * @param sanPhamService the sanPhamService to set
	 */
	public void setSanPhamService(SanPhamService sanPhamService) {
		this.sanPhamService = sanPhamService;
	}
	@Override
	public Object getModel() {
		// TODO Auto-generated method stub
		return sanPham;
	}

}
